package com.android.hidephotosplus;

import android.os.Bundle;
import android.preference.Preference;
import android.preference.Preference.OnPreferenceChangeListener;

import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.app.SherlockPreferenceActivity;
import com.android.hidephotosplus.view.MListPreference;

public class SecurityPreference extends SherlockPreferenceActivity implements
		OnPreferenceChangeListener {

	public static final String KEY_UNLOCK_TYPE = "unlockType";

	private MListPreference listPrefUnlockType;

	private ActionBar mActionBar;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		addPreferencesFromResource(R.xml.sercurity);

		mActionBar = getSupportActionBar();
		mActionBar.setTitle(getString(R.string.security_settings));

		listPrefUnlockType = (MListPreference) getPreferenceScreen()
				.findPreference(KEY_UNLOCK_TYPE);
		listPrefUnlockType.setOnPreferenceChangeListener(this);

	}

	@Override
	public boolean onPreferenceChange(Preference arg0, Object arg1) {
		// TODO Auto-generated method stub
		return false;
	}

}
